package cn.edu.ujn.booksshop.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.edu.ujn.booksshop.dao.ShoppingCart;

public interface ShoppingCartMapper {
    int deleteByPrimaryKey(Integer cartid);

    int insert(ShoppingCart row);

    int insertSelective(ShoppingCart row);

    ShoppingCart selectByPrimaryKey(Integer cartid);

    int updateByPrimaryKeySelective(ShoppingCart row);

    int updateByPrimaryKey(ShoppingCart row);
    
    List<ShoppingCart> selectAll(@Param("page") Integer page,@Param("rows") Integer rows);
}